﻿@model Lamps_Studio.Models.LoginFormModel

@{
    ViewBag.Title = "Login";
}
    
<div class="jumbotron">
    <div class="break-line"></div>
    <div class="container">
        <div class="row ">
            <div class="col-md-4   login-register-box col-md-offset-4">
            <div class="box-image-custom">
                <img src="~/Images/Lamps Studio.png" class="img-responsive" alt="Responsive image">
            </div>

             @using(Html.BeginForm("Login","Account",FormMethod.Post))
             {
                 <fieldset>
                     <legend>
                         <span class="header-form">Login using following account</span>
                     </legend>

                     <div class="editor-label">
                         @Html.ValidationSummary(true)
                     </div>
                     <div class="editor-field">
                         @Html.TextBoxFor(m => m.Username, new { @placeholder = "username", @class = "form-control" })
                         @Html.ValidationMessageFor(m => m.Username)
                     </div>

                     <div class="editor-label">
                         <h3></h3>
                     </div>

                     <div class="editor-field">
                         @Html.PasswordFor(m => m.Password, new { @placeholder = "password", @class = "form-control" })

                         @Html.ValidationMessageFor(m => m.Password)

                     </div>
                     <div class="editor-label">
                         <p>
                             <br />
                             @Html.CheckBoxFor(m => m.RememberMe) &nbsp; &nbsp; Remember on this computer ?
                         </p>
                     </div>

                     <div class="editor-label">
                         <p>
                             <button type="submit" class="btn btn-small btn-info"><i class="glyphicon glyphicon-circle-arrow-right"></i>Secured Login</button>
                         </p>
                     </div>
                 </fieldset>
                }
            </div>
        </div>
    </div>
</div>